package com.mall.product.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;

@Data
@Schema(description = "商品查询参数")
public class ProductQueryDTO implements Serializable {
    
    @Schema(description = "当前页码")
    private Integer pageNum = 1;
    
    @Schema(description = "每页条数")
    private Integer pageSize = 10;
    
    @Schema(description = "商品分类ID")
    private Long categoryId;
    
    @Schema(description = "搜索关键词(商品标题)")
    private String keyword;
    
    @Schema(description = "价格区间-最小值")
    private Double minPrice;
    
    @Schema(description = "价格区间-最大值")
    private Double maxPrice;
    
    @Schema(description = "商品状态 1:上架, 0:下架")
    private Integer status;
}